Skip to content

[Tag]: Allow tags_search permission on GET tag endpoints#1796

Merged
markus-moser merged 1 commit into2025.4from
fix/tag-get-endpoints-allow-tags-search-permission
Apr 30, 2026
Merged

[Tag]: Allow tags_search permission on GET tag endpoints#1796
markus-moser merged 1 commit into2025.4from
fix/tag-get-endpoints-allow-tags-search-permission

Conversation

@markus-moser
Copy link
Copy Markdown
Contributor

@markus-moser markus-moser commented Apr 29, 2026

Related to #1777

The GET /tags and GET /tags/{id} endpoints were requiring tags_configuration, which blocked users who only have tags_search from loading the tag tree in the filter sidebar.

Both endpoints now accept either tags_configuration or tags_search using the existing HasOneOfUserPermissionVoter.

@sonarqubecloud
Copy link
Copy Markdown

@codacy-production
Copy link
Copy Markdown

codacy-production Bot commented Apr 29, 2026

Not up to standards ⛔

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

Copy link
Copy Markdown
Contributor

@lukmzig lukmzig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@markus-moser markus-moser merged commit 46bf8fa into 2025.4 Apr 30, 2026
12 of 13 checks passed
@markus-moser markus-moser deleted the fix/tag-get-endpoints-allow-tags-search-permission branch April 30, 2026 07:54
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 30, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants